Optimal. Leaf size=81 \[ -\frac {2 \left (a^2-b^2\right ) \sqrt {a+b \sin (c+d x)}}{b^3 d}+\frac {4 a (a+b \sin (c+d x))^{3/2}}{3 b^3 d}-\frac {2 (a+b \sin (c+d x))^{5/2}}{5 b^3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2747, 711}
\begin {gather*} -\frac {2 \left (a^2-b^2\right ) \sqrt {a+b \sin (c+d x)}}{b^3 d}-\frac {2 (a+b \sin (c+d x))^{5/2}}{5 b^3 d}+\frac {4 a (a+b \sin (c+d x))^{3/2}}{3 b^3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 711
Rule 2747
Rubi steps
\begin {align*} \int \frac {\cos ^3(c+d x)}{\sqrt {a+b \sin (c+d x)}} \, dx &=\frac {\text {Subst}\left (\int \frac {b^2-x^2}{\sqrt {a+x}} \, dx,x,b \sin (c+d x)\right )}{b^3 d}\\ &=\frac {\text {Subst}\left (\int \left (\frac {-a^2+b^2}{\sqrt {a+x}}+2 a \sqrt {a+x}-(a+x)^{3/2}\right ) \, dx,x,b \sin (c+d x)\right )}{b^3 d}\\ &=-\frac {2 \left (a^2-b^2\right ) \sqrt {a+b \sin (c+d x)}}{b^3 d}+\frac {4 a (a+b \sin (c+d x))^{3/2}}{3 b^3 d}-\frac {2 (a+b \sin (c+d x))^{5/2}}{5 b^3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.65, size = 108, normalized size = 1.33 \begin {gather*} \frac {b (3 b \cos (2 (c+d x))+8 a \sin (c+d x)) (a+b \sin (c+d x))-a \left (16 a^2-27 b^2\right ) \sqrt {1+\frac {b \sin (c+d x)}{a}} \left (-1+\sqrt {1+\frac {b \sin (c+d x)}{a}}\right )}{15 b^3 d \sqrt {a+b \sin (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.29, size = 55, normalized size = 0.68
method | result | size |
default | \(-\frac {2 \sqrt {a +b \sin \left (d x +c \right )}\, \left (-3 b^{2} \left (\cos ^{2}\left (d x +c \right )\right )-4 a b \sin \left (d x +c \right )+8 a^{2}-12 b^{2}\right )}{15 b^{3} d}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 75, normalized size = 0.93 \begin {gather*} \frac {2 \, {\left (15 \, \sqrt {b \sin \left (d x + c\right ) + a} - \frac {3 \, {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {5}{2}} - 10 \, {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b \sin \left (d x + c\right ) + a} a^{2}}{b^{2}}\right )}}{15 \, b d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 54, normalized size = 0.67 \begin {gather*} \frac {2 \, {\left (3 \, b^{2} \cos \left (d x + c\right )^{2} + 4 \, a b \sin \left (d x + c\right ) - 8 \, a^{2} + 12 \, b^{2}\right )} \sqrt {b \sin \left (d x + c\right ) + a}}{15 \, b^{3} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 5.00, size = 72, normalized size = 0.89 \begin {gather*} -\frac {2 \, {\left (3 \, {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {5}{2}} - 10 \, {\left (b \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b \sin \left (d x + c\right ) + a} a^{2} - 15 \, \sqrt {b \sin \left (d x + c\right ) + a} b^{2}\right )}}{15 \, b^{3} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\cos \left (c+d\,x\right )}^3}{\sqrt {a+b\,\sin \left (c+d\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________